{include file="header.tpl" title="Bao tri Access GL"}
<form action="" method="post" target="_self" name="tongquat" autocomplete="off">
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="22%">
<input type="button" value="{$ten_trove}" onClick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="3">
<select name="hanhdong" size="1" onChange="changevalue('hanhdong');">
 {foreach from=$chuyentrang key=k item=v} 	  	
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="4"><hr></td>
</tr>
  <tr>
    <td align="left">{$lbl_REPORTNO} </td>
    <td width="32%" align="left"><input name="REPORTNO" type="text" id="REPORTNO" style=" background:{$colorREPORTNO};" value="{$REPORTNO}" size="20" maxlength="10"  {if $activefield eq 'enabled'} readonly="readonly" {/if}/>
      <span style="color:#FF0000"> * </span>
      <input type="submit" name="find" value="     "  {if $activefield eq 'enabled'} {/if} id="replacement_find"/></td>
    <td width="21%" align="left" nowrap="nowrap">&nbsp;</td>
    <td width="25%" align="left" nowrap="nowrap">&nbsp;</td>
  </tr>
  <tr>
    <td align="left">{$lbl_REPORTNAME} </td>
    <td align="left"><span style="color:#FF0000">
      <input name="REPORTNAME" id="REPORTNAME" type="text" style="background:{$colorREPORTNAME}" value="{$REPORTNAME}" size="50" maxlength="200" />
    </span></td>
  	<td nowrap="nowrap" align="left">&nbsp;</td>
    <td nowrap="nowrap" align="left">&nbsp;</td>
  </tr>  
  <tr>
    <td align="left">{$lbl_LSTLNPRD}</td>
    <td align="left"><input name="LSTLNPRD" type="text" id="LSTLNPRD" style=" background:{$colorLSTLNPRD};" value="{$LSTLNPRD}" size="20" maxlength="10" />
      <span style="color:#FF0000">
      <input type="button" onclick="mywindow = window.open('par_Ln5089_cvdtnt_id_1.php?name=LSTLNPRD', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="phonggd" id="replacement_binoculars" value="     " />
	  
      <input type="button" name="add_LSTLNPRD" id="add_LSTLNPRD" onclick="add_new('LSTLNPRD','LIST_LSTLNPRD');" value="{$ten_them_moi}"  class="button_style" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
	  
      <input name="delete_LSTLNPRD" id="delete_LSTLNPRD" type="button" value=" {$ten_xoa} " class="button_style" onclick="deleted('LSTLNPRD','LIST_LSTLNPRD');"  onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
</span></td><td align="left">&nbsp;</td>
    <td align="left">&nbsp;</td>
  </tr>
  <tr>
    <td align="left">&nbsp;</td>
    <td align="left"><textarea name="LIST_LSTLNPRD" rows="5" cols="60" readonly="readonly" id="LIST_LSTLNPRD" >{$LIST_LSTLNPRD}</textarea></td>
    <td align="left">&nbsp;</td>
    <td align="left">&nbsp;</td>
  </tr>
  <tr>
    <td align="left">{$lbl_PPLN} </td>
    <td align="left"><span style="color:#FF0000">
      <input name="PPLNtmp" id="PPLNtmp" type="text" style="background:{$colorPPLNtmp}" value="{$PPLNtmp}" size="20" maxlength="15" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" />
      <input type="button" onclick="mywindow = window.open('par_Ln5089_cvdtnt_id_2.php?name=PPLNtmp', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="phonggd2" id="replacement_binoculars" value="     " />
      <input type="button" name="add_branhcode" id="add_branhcode" onclick="add_new('PPLNtmp','PPLN');" value="{$ten_them_moi}"  class="button_style" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
      <input name="delete_branhcode" id="delete_branhcode" type="button" value=" {$ten_xoa} " class="button_style" onclick="deleted('PPLNtmp','PPLN');"  onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
    </span></td><td align="left">&nbsp;</td>
    <td align="left">&nbsp;</td>
  </tr>
  <tr>
    <td height="38" align="left">&nbsp;</td>
    <td align="left"><textarea name="PPLN" cols="60" rows="5" id="PPLN" readonly="readonly">{$PPLN}</textarea></td>
    <td align="left">&nbsp;</td>
    <td align="left">&nbsp;</td>
  </tr>
  
  <tr>
    <td align="left">{$lbl_LSTTRPRD}</td>
    <td align="left"><span style="color:#FF0000">
      <input name="LSTTRPRD" type="text" id="LSTTRPRD" style=" background:{$colorLSTTRPRD};" value="{$LSTTRPRD}" size="20" maxlength="10" />
      <input type="button" onclick="mywindow = window.open('par_Ln5089_cvdtnt_id_3.php?name=LSTTRPRD', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="phonggd22" id="replacement_binoculars" value="     " />
      <input type="button" name="add_LSTTRPRD" id="add_LSTTRPRD" onclick="add_new('LSTTRPRD','LIST_LSTTRPRD');" value="{$ten_them_moi}"  class="button_style" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
      <input name="delete_LSTTRPRD" id="delete_LSTTRPRD" type="button" value=" {$ten_xoa} " class="button_style" onclick="deleted('LSTTRPRD','LIST_LSTTRPRD');"  onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
    </span></td>
    <td align="left">&nbsp;</td>
    <td align="left">&nbsp;</td>
  </tr>
  <tr>
    <td align="left">&nbsp;</td>
    <td align="left"><textarea name="LIST_LSTTRPRD" rows="5" cols="60" readonly="readonly" id="LIST_LSTTRPRD" >{$LIST_LSTTRPRD}</textarea></td>
    <td align="left">&nbsp;</td>
    <td align="left">&nbsp;</td>
  </tr>
  
  <tr>
    <td nowrap="nowrap">{$lbl_FRMTERM}</td>
    <td align="left"><span style="color:#FF0000">
      <input name="FRMTERM" id="FRMTERM" type="text" style="background:{$colorFRMTERM}" value="{$FRMTERM}" size="10" maxlength="5" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" onkeypress="return numberOnly(event);" />
      <select name="FRMTERMCD" id="FRMTERMCD">
        <option value=""></option>
        					
							{foreach from=$cbo_FRMTERM key=k item=v}
							  
        <option value="{$k}" {if $k eq $FRMTERMCD} selected="selected" {/if} >{$k} - {$v}</option>
        
							{/foreach}		
							
      </select>
    </span></td>
    <td align="left">{$lbl_TOTERM}</td>
    <td align="left"><span style="color:#FF0000">
      <input name="TOTERM" id="TOTERM" type="text" style="background:{$colorTOTERM}" value="{$TOTERM}" size="10" maxlength="5" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" onkeypress="return numberOnly(event);"/>
      <select name="TOTERMCD" id="TOTERMCD">
        <option value=""></option>
        					
							{foreach from=$cbo_FRMTERM key=k item=v}
							  
        <option value="{$k}" {if $k eq $TOTERMCD} selected="selected" {/if} >{$k} - {$v}</option>
        
							{/foreach}		
							
      </select>
    </span></td>
  </tr>
  <tr>
    <td nowrap="nowrap">&nbsp;</td>
    <td align="left">&nbsp;</td>
    <td align="left">&nbsp;</td>
    <td align="left">&nbsp;</td>
  </tr>
  

<tr>

<td colspan="4" align="right" nowrap="nowrap"><input type="button" name="cancle" id="cancle" value="{$ten_cancle}" class="button_style" onclick="activeform(this.form,'REPORTNO');" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
<input type="submit" name="capnhat" value="{$ten_cap_nhat}" {if $activefield eq 'disabled' } disabled="disabled" {/if} class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" /></td>
  </tr>
<tr>
<td colspan="4" align="left" nowrap="nowrap"><input name="detail" type="submit" value="{$ten_chitiet}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" /></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>

<tr>
<td>
<input type="button" value="{$ten_trove}" onClick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="3">
<select name="hanhdong1" size="1" onChange="changevalue('hanhdong1');">
 {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
</table>
</form>
{$javascriptsetstyle}
{include file="footer.tpl"}
